package com.maket.scxx.mapper;

import com.maket.scxx.domain.*;
import com.ruoyi.system.api.domain.SysUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@SuppressWarnings("all")
public interface GylxConfigMapper {

    GylxProcessRoute selectWithGylxAndGx(GxProcessAndGylxProcessRoute gyRoadCodeAndGxCode);

    // 向工序和工艺路线表进行添加
    int insertGylxAndGx(GxProcessAndGylxProcessRoute gylxProcessRoute);

    int insertGxAndScdy(GxProcessAndScwzRoductionLocation gxProcessAndScwzRoductionLocation);

    int insertGxAndUser(GxProcessAndSysUser gxProcessAndSysUser);


    List<GxProcess> selectGxProcessList(GxProcess gxProcess);

    int deleteGxAndGylx(GxProcessAndGylxProcessRoute gxProcessAndGylxProcessRoute);

    int deleteGxAndScdy(GxProcessAndScwzRoductionLocation gxProcessAndScwzRoductionLocation);

    int deleteGxAndUser(GxProcessAndSysUser gxProcessAndSysUser);

    List<GcFactoryUnitTable> getAllScdy(GcFactoryUnitTable gcFactoryUnitTable);

    List<GxUser> getAllUser(GxUser sysUser);

    int updateSort(GxProcessAndGylxProcessRoute gylxProcessRoute);

    List<GxProcessAndGylxProcessRoute> selectWithGxCode(@Param("gxCode") String gxCode);

}
